//
//  MainModule.h
//  bsl-sdk
//
//  Created by Fanty on 13-12-5.
//
//

#import <chameleon-ios-sdk/CModule.h>
#import "ParserDelegate.h"

@class AsyncTask;
@class ASIHTTPRequest;
@class ASIFormDataRequest;


@interface MainModule : CModule


//生成http 到解析结果的异步
-(AsyncTask*)asyncWithOperation:(ASIHTTPRequest*)operation parser:(id<ParserDelegate>)parser;


//建立带参数的post 请求
-(ASIFormDataRequest*)requestWithURL:(NSURL*)url;

//检测应用版本更新
-(AsyncTask*)checkAppVersionTask;

@end
